package zero.tech.games.trade.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import zero.tech.games.entity.games.Translog;

public interface TranslogMapper {

	@Select("select * from trans_log where udid=#{udid}")
	Translog getTranslog(String udid);

	@Insert("insert into trans_log(udid,status) values(#{udid},#{status})")
	void insert(Translog translog);

	@Update("update trans_log set status=#{status} where udid=#{udid}")
	void update(Translog translog);

}
